package com.rxt.service;

import com.rxt.common.result.Result;
import com.rxt.model.domain.UUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.rxt.model.dto.UUserDto;
import com.rxt.model.vo.LoginVo;
import com.rxt.model.vo.PasswordVo;

import javax.servlet.http.HttpSession;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 周梓文
 * @since 2023-08-24
 */
public interface IUUserService extends IService<UUser> {

    Result login(LoginVo loginVo);

    Result getCaptcha(String phone);

    Result currentUser();

    Result forgetPwd(LoginVo loginVo, HttpSession session);

    Result resetPwd(PasswordVo pwdVo, HttpSession session);

    Result logout();

    Result updateUserInfo(UUserDto userDto);
}
